<?php

$jige = 75;

$css = 80;
$js = 70;
$wangye = 60;
$avg = ($css+$js+$wangye)/3;
echo "平均分的及格线=$jige</br>";
echo "样式表=$css</br>";
echo "网页设计=$wangye</br>";
echo "JS=$js</br>";
echo "你的平均分=$avg</br>";
echo "你的分数=";

if ($avg >= $jige)  {
    echo "及格";
} else {
    echo "不及格";
}